package routers

import (
	"git.oschina.net/hfwb/tianqi.git/tq/admin/controllers"
	"github.com/astaxie/beego"
    "git.oschina.net/hfwb/tianqi.git/tq/global"
)

func init() {
    beego.SetStaticPath("assets", global.Config.Admin.StaticDir)
    beego.SetViewsPath(global.Config.Admin.ViewDir)
    beego.Router("/", &controllers.Station{}, "*:List")
    beego.AutoRouter(&controllers.Station{})
    beego.AutoRouter(&controllers.Staff{})
    beego.AutoRouter(&controllers.Forecast{})
}
